<template>
  <div class="Hst">
    <div class="swiper_box">
      <swiper
        :options="swiperOption"
        ref="mySwiper"
        @slideChange="slideChange()"
      >
        <swiper-slide class="swiper-slide-defalut">
          <div class="homeBanner" v-if="showClass != 'aaa'">
            <FootBarHeader
              @getTopClass="getTopClass"
              class="footBarHeader"
            ></FootBarHeader>
            <div class="hetitle22">
              <div class="big animated fadeInUp">
                财税通-财税更合规，收款更安心
              </div>
              <div class="top animated fadeInUp">
                Finance and taxation more compliance, collection more at ease
              </div>
              <div class="line"></div>
              <!-- <div class="text animated fadeInUp">
                自主研发的云账户系统，赋能机械设备租赁、建筑服务等从业者和工商、税务部门。
              </div> -->
            </div>
            <div class="videoClass">
              <video id="myVideo" class="video-js bannerImg vjs-fluid">
                <source
                  src="https://file.honglonglong.com.cn/hll_newPc/Home/hstBg.mp4"
                  type="video/mp4"
                />
              </video>
            </div>
            <!-- <img
              class="banerimg"
              src="https://file.honglonglong.com.cn/hll_newPc/aboutUs/contactUs/1400px810.png"
              alt=""
            /> -->
            <div @click="nowNext">
              <lottie
                :height="49"
                :width="49"
                class="iconImg"
                :options="defaultOptions"
                @animCreated="handleAnimation"
              />
            </div>
          </div>
          <div class="homeBannerDark" v-else>
            <FootBarHeader
              @getTopClass="getTopClass"
              class="footBarHeader"
            ></FootBarHeader>
            <div class="tabTextcons">
              <div class="tabTextcon" @click="goNewpage(1)">
                <div class="tabText">
                  <span>机施通</span>
                  <span class="tabTexte">machine shitong</span>
                </div>
                <img
                  src="../../../assets/img/footIcon/raIcon.png"
                  class="raLcon"
                  alt=""
                />
              </div>
              <div class="tabTextcon" @click="goNewpage(2)">
                <div class="tabText">
                  <span>机械天眼</span>
                  <span class="tabTexte">mechanical eye</span>
                </div>
                <img
                  src="../../../assets/img/footIcon/raIcon.png"
                  class="raLcon"
                  alt=""
                />
              </div>
              <div class="tabTextcon" @click="goNewpage(3)">
                <div class="tabText">
                  <span>财税通</span>
                  <span class="tabTexte">boom tax through</span>
                </div>
                <img
                  src="../../../assets/img/footIcon/raIcon.png"
                  class="raLcon"
                  alt=""
                />
              </div>
            </div>
          </div>
        </swiper-slide>
        <swiper-slide class="swiper-slide-defalut">
          <div class="homeBanner2">
            <img
              class="banner2bg"
              src="https://file.honglonglong.com.cn/hll_newPc/platformService/Meye/hst2Bg.png"
              alt=""
            />
            <div class="title">
              <div
                style="animation-duration: 1s; animation-delay: 1s !important"
                :class="{ animated: true, bounceIn: hstShow1 }"
              >
                <!-- 在线免费办理个体工商户 -->
              </div>
            </div>
            <!-- <div class="hstHand">
              <div class="meyeTip1">政策从优</div>
              <div class="meyeTip2">多处基地</div>
              <div class="meyeTip3">无需到场</div>
              <div class="meyeTip4">全程代办</div>
              <div class="meyeTip5">合法合规</div>
              <div class="meyeTip6">简单便捷</div>
              <div class="meyeTip7">应缴尽缴</div>
              <lottie
                :height="498"
                :width="1316"
                class="hstMap"
                :options="defaultOptions2"
                @animCreated="handleAnimation"
              />
            </div> -->
            <div></div>
            <div @click="nowNext">
              <lottie
                :height="49"
                :width="49"
                class="iconImg"
                :options="defaultOptions"
                @animCreated="handleAnimation"
              />
            </div>
          </div>
        </swiper-slide>
        <swiper-slide class="swiper-slide-defalut">
          <div class="gth">
            <div class="homeBanner">
              <div
                style="animation-duration: 1s; animation-delay: 1s !important"
                :class="{ topLeft: true, animated: true, fadeInLeft: hstShow2 }"
              >
                <div class="tipTitle">个体工商户代办服务</div>
                <div class="tiplie"></div>
              </div>
              <div class="conlums5now">
                <div class="conlums5">
                  <div
                    :class="{ conlums5row1: dlog1, conlums5row1s: !dlog1 }"
                    @mouseover="selectStyle(1)"
                    @mouseout="outStyle(1)"
                  >
                    <div class="conlums5row1part1">- 01 -</div>
                    <div class="conlums5img">
                      <div class="conlums5text">提交资料</div>
                    </div>
                  </div>
                  <div
                    class="conlums5row2"
                    @mouseover="selectStyle(2)"
                    @mouseout="outStyle(2)"
                  >
                    <div class="conlums5row1part1">- 02 -</div>
                    <div class="conlums5img">
                      <div class="conlums5text">线上初审</div>
                    </div>
                  </div>
                  <div
                    class="conlums5row3"
                    @mouseover="selectStyle(3)"
                    @mouseout="outStyle(3)"
                  >
                    <div class="conlums5row1part1">- 03 -</div>
                    <div class="conlums5img">
                      <div class="conlums5text">实名认证</div>
                    </div>
                  </div>
                  <div
                    class="conlums5row4"
                    @mouseover="selectStyle(4)"
                    @mouseout="outStyle(4)"
                  >
                    <div class="conlums5row1part1">- 04 -</div>
                    <div class="conlums5img">
                      <div class="conlums5text">营业执照</div>
                    </div>
                  </div>
                  <div
                    class="conlums5row5"
                    @mouseover="selectStyle(5)"
                    @mouseout="outStyle(5)"
                  >
                    <div class="conlums5row1part1">- 05 -</div>
                    <div class="conlums5img">
                      <div class="conlums5text">开展业务</div>
                    </div>
                  </div>
                </div>
                <div class="dialogcon">
                  <div class="dialog1 animated fadeInUp" v-show="dlog1">
                    <div class="text">
                      <div>
                        01 填写预审所需个人资料、选择注册地、提交注册个体户信息
                      </div>
                      <div>02 业务人员对资料信息进行初审</div>
                    </div>
                  </div>
                  <div class="dialog2 animated fadeInUp" v-show="dlog2">
                    <div class="text">
                      <div>03 等待工商预审</div>
                      <!-- <div>02 业务人员对资料信息进行初审</div> -->
                    </div>
                  </div>
                  <div class="dialog3 animated fadeInUp" v-show="dlog3">
                    <div class="text">
                      <div>04 去工商系统进行工商实名认证/签章认证</div>
                      <div>05 去税务系统进行税务实名认证</div>
                      <div>06 按照要求提交以上认证截图</div>
                    </div>
                  </div>
                  <div class="dialog4 animated fadeInUp" v-show="dlog4">
                    <div class="text">
                      <div>07 业务人员办理并取回营业执照</div>
                      <div></div>
                    </div>
                  </div>
                  <div class="dialog5 animated fadeInUp" v-show="dlog5">
                    <div class="text">
                      <div>08 已注册个体工商户可解锁发票代开业务</div>
                    </div>
                  </div>
                </div>
              </div>
              <div @click="nowNext">
                <lottie
                  :height="49"
                  :width="49"
                  class="iconImg"
                  :options="defaultOptions"
                  @animCreated="handleAnimation"
                />
              </div>
            </div>
          </div>
        </swiper-slide>
        <swiper-slide class="swiper-slide-defalut" id="ahome">
          <div class="gth">
            <div class="homeBanner">
              <img
                class="banerimg2"
                src="https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_array3.png"
              />
            </div>
          </div>
        </swiper-slide>
      </swiper>
      <FooterBar v-show="show" class="footerBar"></FooterBar>
    </div>
  </div>
</template>

<script>
// import * as animationData1 from "../../../assets/js/data.json";
// import * as animationData2 from "../../../assets/js/data2.json";
const animationData1 = require("@/assets/js/data.json");
const animationData2 = require("@/assets/js/data2.json");
import FootBarHeader from "../../../components/FootBarHeader";
import HomeBanner from "../home/Homebanner";
import HomeMechanics from "../home/HomeMechanics";
import FooterBar from "../../../components/FooterBar";
import { Swiper, SwiperSlide } from "vue-awesome-swiper";
import "swiper/css/swiper.css";
export default {
  name: "Hst",
  data() {
    return {
      swiperOption: {
        // pagination:'.swiper-pagination',
        notNextTick: true, // notNextTick是一个组件自有属性，如果notNextTick设置为true，组件则不会通过NextTick来实例化swiper，也就意味着你可以在第一时间获取到swiper对象，假如你需要刚加载遍使用获取swiper对象来做什么事，那么这个属性一定要是true
        direction: "vertical", // 水平方向移动
        grabCursor: true, // 鼠标覆盖Swiper时指针会变成手掌形状，拖动时指针会变成抓手形状
        setWrapperSize: true, // Swiper使用flexbox布局(display: flex)，开启这个设定会在Wrapper上添加等于slides相加的宽或高，在对flexbox布局的支持不是很好的浏览器中可能需要用到。
        autoHeight: true, // 自动高度。设置为true时，wrapper和container会随着当前slide的高度而发生变化
        observer: true, // 修改swiper自己或子元素时，自动初始化swiper
        observeParents: true, // 修改swiper的父元素时，自动初始化swiper
        slidesPerView: 1, // 设置slider容器能够同时显示的slides数量(carousel模式)。可以设置为数字（可为小数，小数不可loop），或者 'auto'则自动根据slides的宽度来设定数量。loop模式下如果设置为'auto'还需要设置另外一个参数loopedSlides。
        observer: true,
        initialSlide: 0,
        mousewheel: false, // 开启鼠标滚轮控制Swiper切换。可设置鼠标选项，默认值false
        height: window.innerHeight, // 高度设置，占满设备高度
        // autoHeight: true, // 高度随内容变化
        resistanceRatio: 0, // 抵抗率。边缘抵抗力的大小比例。值越小抵抗越大越难将slide拖离边缘，0时完全无法拖离。本业务需要
        observeParents: true, // 将observe应用于Swiper的父元素。当Swiper的父元素变化时，例如window.resize，Swiper更新
        // autoplayDisableOnInteraction: false, //鼠标划过之后继续轮播
        speed: 1000, // 滚动速度
      },
      defaultOptions: { animationData: animationData1, loop: true },
      defaultOptions2: { animationData: animationData2, loop: true },
      defalut_top: 0,
      show: false,
      isFresh: false,
      showClass: false,
      dlog1: true,
      dlog2: false,
      dlog3: false,
      dlog4: false,
      dlog5: false,
      hstShow1: false,
      hstShow2: false,
      // 视频
      initVideo() {
        //此处初始化的调用，我放在了获取数据之后的方法内，而不是放在钩子函数mounted
        //页面dom元素渲染完毕，执行回调里面的方法
        this.$nextTick(() => {
          let myPlayer = this.$video(document.getElementById("myVideo"), {
            //确定播放器是否具有用户可以与之交互的控件。没有控件，启动视频播放的唯一方法是使用autoplay属性或通过Player API。
            controls: false,
            muted: false,
            //自动播放属性,muted:静音播放
            autoplay: "muted",
            //建议浏览器是否应在<video>加载元素后立即开始下载视频数据。
            preload: true, //预加载：string；'auto'|'true'|'metadata'|'none'
            loop: true,
          });
        });
      },
    };
  },
  watch: {
    $route(to, from) {
      this.$router.go(0);
    },
  },
  components: {
    FootBarHeader,
    HomeBanner,
    HomeMechanics,
    Swiper,
    SwiperSlide,
    FooterBar,
  },
  computed: {
    swiper() {
      return this.$refs.mySwiper.$swiper;
    },
    //  $route() {
    //   console.log(this.$route);
    // },
  },

  mounted() {
    this.initVideo();
    this.scrollFunction();
    console.log("Current Swiper instance object", this.swiper);
    window.addEventListener("scroll", this.handleScroll, true);
    this.$refs.mySwiper.$swiper.mousewheel.enable();
  },
  destroyed() {
    if (!this.domObj) return;
    if (this.domObj.attachEvent) {
      this.domObj.detachEvent("onmousewheel", this.mouseScroll);
    }
    if (this.domObj.addEventListener) {
      this.domObj.removeEventListener(
        "DOMMouseScroll",
        this.mouseScroll,
        false
      );
    }
  },
  methods: {
    selectStyle(data) {
      switch (data) {
        case 1:
          this.dlog1 = true;
          this.dlog2 = false;
          this.dlog3 = false;
          this.dlog4 = false;
          this.dlog5 = false;
          break;
        case 2:
          this.dlog1 = false;
          this.dlog2 = true;
          this.dlog3 = false;
          this.dlog4 = false;
          this.dlog5 = false;
          break;
        case 3:
          this.dlog1 = false;
          this.dlog2 = false;
          this.dlog3 = true;
          this.dlog4 = false;
          this.dlog5 = false;
          break;
        case 4:
          this.dlog1 = false;
          this.dlog2 = false;
          this.dlog3 = false;
          this.dlog4 = true;
          this.dlog5 = false;
          break;
        case 5:
          this.dlog1 = false;
          this.dlog2 = false;
          this.dlog3 = false;
          this.dlog4 = false;
          this.dlog5 = true;
          break;
      }
    },
    outStyle() {
      this.dlog1 = true;
      this.dlog2 = false;
      this.dlog3 = false;
      this.dlog4 = false;
      this.dlog5 = false;
    },
    goNewpage(data) {
      if (data === 1) {
        this.$router.push({ path: "p_jst" });
      } else if (data === 2) {
        this.$router.push({ path: "p_eye" });
      } else if (data === 3) {
        this.$router.go(0);
        // this.showClass=false
        // this.initVideo();
      }
    },
    handleAnimation: function (animate) {
      this.animObj = animate;
      // console.log(animate); //这里可以看到 lottie 对象的全部属性
    },
    nowNext() {
      this.$refs.mySwiper.$swiper.slideNext();
    },
    getTopClass(data) {
      this.showClass = data;
      this.initVideo();
      console.log(data);
    },
    scrollFunction() {
      this.domObj = document.getElementById("ahome"); // 通过id获取要设置的div
      if (this.domObj.attachEvent) {
        // IE
        this.domObj.attachEvent("onmousewheel", this.mouseScroll);
      } else if (this.domObj.addEventListener) {
        this.domObj.addEventListener("DOMMouseScroll", this.mouseScroll, false);
      }
      this.domObj.onmousewheel = this.domObj.onmousewheel = this.mouseScroll;
    },
    mouseScroll(event) {
      // google 浏览器下
      let detail = event.wheelDelta || event.detail; // 判读滚动方向
      // console.log(detail);
      // console.log( this.i)  // 是否离开底部
      if (detail > 0 && !this.i) {
        this.$router.afterEach((to, from, next) => {
          window.scrollTo(0, 0);
        });
        this.$refs.mySwiper.$swiper.mousewheel.enable();
      }
    },
    slideChange(e) {
      const activeIndex = this.$refs.mySwiper.$swiper.activeIndex;
      if (activeIndex === 1) {
        this.hstShow1 = true;
      } else if (activeIndex === 2) {
        this.hstShow2 = true;
      } else if (activeIndex === 3) {
        this.show = true;
        setTimeout(() => {
          this.$refs.mySwiper.$swiper.mousewheel.disable();
        }, 500);
      } else {
        this.show = false;
      }
    },

    handleScroll() {
      // 页面滚动距顶部距离
      var scrollTop =
        window.pageYOffset ||
        document.documentElement.scrollTop ||
        document.body.scrollTop;
      var scroll = scrollTop - this.i;
      this.i = scrollTop;
      if (scroll < 0) {
        if (scrollTop < 10) {
          this.$refs.mySwiper.$swiper.mousewheel.enable();
        }
      } else {
        console.log("down");
      }
    },
  },
};
</script>
<style lang="scss" scoped>
.swiper-slide-defalut {
  height: 100vh;
  overflow: hidden;
}
.hstHand {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  // height: 800px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 10;
  .meyeTip1 {
    position: absolute;
    bottom: 40%;
    left: 16%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip2 {
    position: absolute;
    top: 39%;
    left: 21%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip3 {
    position: absolute;
    top: 28%;
    left: 30%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip4 {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip5 {
    position: absolute;
    top: 28%;
    right: 25%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip6 {
    position: absolute;
    top: 39%;
    right: 18%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .meyeTip7 {
    position: absolute;
    bottom: 40%;
    right: 13%;
    transform: translate(-50%, 0);
    z-index: 20;
  }
  .hstMap {
    // position: absolute;
    // bottom: 0;
    // left: 50%;
    // transform: translate(-50%, -25%);
    // width: 1316px;
    // height: 498px;
  }
}
.gth {
  width: 100vw;
  height: 100vh;
  background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_gth.png)
    no-repeat;
  background-size: 100% 100%;
  position: relative;

  .homeBanner {
    position: relative;
    width: 100vw;
    height: 100vh;
    .conlums5now {
      top: 25%;
      left: 6%;
      right: 6%;
      width: 85%;
      height: 66%;
      position: absolute;
      .conlums5 {
        display: flex;
        justify-content: space-between;
        color: #ffffff;

        .conlums5row1 {
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          cursor: pointer;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #ff855b;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_red1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row1s {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: all 0.5s;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #484e61;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_black1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row2 {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: all 0.5s;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #484e61;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_black1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row2:hover {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: 0.5s all ease-in;
          transform: scale(1.03); /*以y轴为中心旋转*/
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #ff855b;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_red1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row3 {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: all 0.5s;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #484e61;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_black1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row3:hover {
          cursor: pointer;
          // position: absolute;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: 0.5s all ease-in;
          transform: scale(1.03); /*以y轴为中心旋转*/
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #ff855b;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_red1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row4 {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: all 0.5s;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #484e61;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_black1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row4:hover {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: 0.5s all ease-in;
          transform: scale(1.03); /*以y轴为中心旋转*/
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #ff855b;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_red1.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row5 {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: all 0.5s;
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #484e61;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_black2.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
        .conlums5row5:hover {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 25%;
          margin-top: 1%;
          transition: 0.5s all ease-in;
          transform: scale(1.03); /*以y轴为中心旋转*/
          .conlums5row1part1 {
            text-align: center;
            height: 55px;
            font-size: 46px;
            font-family: BebasNeue;
            color: #ff855b;
            line-height: 55px;
            margin-bottom: 30px;
          }
          .conlums5img {
            width: 228px;
            height: 60px;
            background: url(https://file.honglonglong.com.cn/hll_newPc/platformService/Hst/hst_red2.png)
              no-repeat;
            background-size: 100% 100%;
            .conlums5text {
              width: 210px;
              height: 60px;
              line-height: 60px;
              text-align: center;
            }
          }
        }
      }
      .dialogcon {
        display: flex;
        justify-content: center;
        .dialog1 {
          margin-top: 30px;
          width: 94.5%;
          background: #ffffff;
          box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.5);
          height: 100px;
          padding-bottom: 30px;
          position: relative;
          border-radius: 5px;
        }
        .dialog1::before {
          content: "";
          width: 0;
          height: 0;
          border: 20px solid;
          position: absolute;
          top: -40px;
          left: 6%;
          border-color: transparent transparent #fff;
        }
        .dialog2 {
          margin-top: 30px;
          width: 94.5%;
          height: 50px;
          background: #ffffff;
          box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.5);
          padding-bottom: 30px;
          position: relative;
          border-radius: 5px;
        }
        .dialog2::before {
          content: "";
          width: 0;
          height: 0;
          border: 20px solid;
          position: absolute;
          top: -40px;
          left: 27%;
          border-color: transparent transparent #fff;
        }
        .dialog3 {
          margin-top: 30px;
          width: 94.5%;
          height: 149px;
          background: #ffffff;
          box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.5);
          padding-bottom: 30px;
          position: relative;
          border-radius: 5px;
        }
        .dialog3::before {
          content: "";
          width: 0;
          height: 0;
          border: 20px solid;
          position: absolute;
          top: -40px;
          left: 48%;
          border-color: transparent transparent #fff;
        }
        .dialog4 {
          margin-top: 30px;
          width: 94.5%;
          height: 50px;
          background: #ffffff;
          box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.5);
          padding-bottom: 30px;
          position: relative;
          border-radius: 5px;
        }
        .dialog4::before {
          content: "";
          width: 0;
          height: 0;
          border: 20px solid;
          position: absolute;
          top: -40px;
          right: 28%;
          border-color: transparent transparent #fff;
        }
        .dialog5 {
          margin-top: 30px;
          width: 94.5%;
          height: 149px;
          background: #ffffff;
          box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.5);
          height: 50px;
          padding-bottom: 30px;
          position: relative;
          border-radius: 5px;
        }
        .dialog5::before {
          content: "";
          width: 0;
          height: 0;
          border: 20px solid;
          position: absolute;
          top: -40px;
          right: 6%;
          border-color: transparent transparent #fff;
        }
        .text {
          font-size: 14px;
          font-weight: 400;
          color: #222121;
          margin-left: 30px;
          div {
            margin-top: 30px;
          }
        }
      }
      // .dialog::after {
      //   content: "";
      //   width: 0;
      //   height: 0;
      //   border: 50px solid;
      //   position: absolute;
      //   top: -38px;
      //   left: 20px;
      //   border-color: transparent transparent white;
      // }
    }

    .topLeft {
      color: #303133;
      position: absolute;
      top: 8%;
      left: 6%;

      .tipTitle {
        font-size: 30px;
        font-weight: 500;
        letter-spacing: 2px;
      }

      .tipCnt {
        color: #909399;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 2px;
        margin-top: 6px;
      }

      .tiplie {
        width: 28px;
        height: 3px;
        background: #ff855b;
        margin-top: 15px;
      }
    }
  }
}
.iconImg {
  cursor: pointer;
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 66px;
  height: 66px;
  z-index: 10;
}
.swiper_box {
  position: relative;
}
.swiper-slide-defalut {
  height: 100vh;
  overflow: hidden;
}

.homeBanner {
  width: 100vw;
  height: 100vh;
  .banerimg {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  .videoClass {
    width: 100vw;
    height: 100vh;
    position: relative;
  }
  .banerimg2 {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .hetitle22 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 818px;
    height: 263px;
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
    background: url(https://file.honglonglong.com.cn/hll_newPc/footerBar/banner1border.png)
      no-repeat;
    background-size: 100% 100%;
    color: #ffffff;
    .top {
      font-size: 20px;
      font-weight: 500;
      margin-top: 20px;
    }
    .big {
      font-size: 50px;
      font-weight: bold;
      margin-top: 20px;
    }
    .line {
      width: 200px;
      height: 1px;
      background: #ffffff;
      margin: 41px 0;
    }
    .text {
      width: 750px;
      font-size: 18px;
      font-weight: 500;
      .key {
        color: #ff855b;
      }
    }
  }
}
.homeBanner2 {
  height: 100%;
  background: #202734;
  .banner2bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .title {
    position: absolute;
    top: 135px;
    left: 50%;
    transform: translate(-50%, -50%);
    // margin-top:135px;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
  }
}
.homeBannerDark {
  transition: all 0.5s;
  // -moz-transition: width 2s; /* Firefox 4 */
  // -webkit-transition: width 2s; /* Safari 和 Chrome */
  // -o-transition: width 2s; /* Opera */
  transform: scale(1); /*以y轴为中心旋转*/
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: #202734;
  .tabTextcons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .tabTextcon {
      width: 360px;
      font-size: 24px;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      // flex-direction: column;
      margin-top: 70px;
      .tabText {
        display: flex;
        flex-direction: column;
        .tabTexte {
          font-size: 14px;
          color: #909399;
          margin-top: 8px;
        }
      }
      .raLcon {
        width: 37px;
        height: 11px;
        // margin-left: 144px ;
      }
    }
    .tabTextcon:hover {
      cursor: pointer;
    }
  }
}
.HomeContent {
  object-fit: cover;
  width: 100%;
  height: 100vh;
}
.footBarHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.footer-swiper {
  height: 336px !important;
}
</style>
